compile script is broken