fixing sql install script