Script fixes

So Flynn CI was actually failing on #173, but I failed to identify it as a genuine error due to the current intermittent slugbuilder issues, and also Github told me the branch was green :angry: