Tweaks to compile script.