Create database install script