Completely changed the whole config thing
Reverted back to use php variables