Add install script
Fix import and sql