Added debug option on startup