Fix sql install script

Caused saves to fail.