Added Option for Enabled DB Support
Reformatted PHP Code