Move some before_symlink stuff into the deploy script