edits to compile script