modifying compile script