change modes of main programs