DEBUG Logging script added