More modifications to RMD file