tidied up the compile script variables