Adjust deploy script to create stored procedures