updating install.rake to check if db exists first