Made script check if database is populated and fills it up if not