Revised the usage of rf-prepare.cpp