changed slashes for linux
removed database connection, not necessary