create compile script