Script: fix pre-deploy