Fixed Database Population Script

Should work now...unable to test yet, could not shell into the server.