Changed makefile to run database on run command