Fixed minor bugs, added option to disable logs as configurable
Added debug logging option as configurable
Added workaround for creating dummy flag file to identify debug logging mode
Added workaround for creating dummy flag file to identify debug logging mode
Added debug logging option as configurable