modify compile script