fixing auto compile script