Added working Mode and Frame switches