Security Stuff and change to mysql location