added deploy script. attempt to fix syntax error in server sql