Creating a new error mechanism for the commandline function exec() and chdir(). Now, if an error occurs (by default) the script's execution will stop with an error message.