Fixed COMPILE script