added configuration by system properties and debug logs