added script for initialising databse