More error handling
The script should be reviewed to make sure that all possible errors are handled, especially errors that might occure during calls to shell commands.
The script should be reviewed to make sure that all possible errors are handled, especially errors that might occure during calls to shell commands.