Changed sql scripts not to refer to a database