Fix postdeployment script
Add stored proc templates