correct compile script