This is a Shell script to simulate the basic core RCS function.