Fix mysqli connection
Add static variables for AWS