rc script to learn