some edits to allow automatic deployment to azure