some cleanup of deploy script