misc changes and deploy script