ReadME and RE function clean up