use overrideable functions instead of a hashmap of properties to make baseUrl flags more discoverable.