moved prog mode settings to a separate file