added debug build option