added sql and postdeploy scripts