changed compile script