fix script/compile