Build script can be run from any dir

checked chdir