compiling script