Added debug option in startup