compile script modification