Stored Proc script and install.sh changes