Added a prepare script. Used in deployments.