Changed to my database instead and fixed a few minor errors