This is, however, a little dangerous as the working directory of the script can easily be changed with chdir().