Save changes before delete
procedure creation merged to one file drop gettoken.sql unneeded