added rc and simple perl script