Configuring the script with the database details