Made sql have info in a file instead of hard coded in