trying to add an exit code for the compile script