--rcp raises an error if run class property doesn't exist
--Made set up run class more robust