Allow mock cartridge to be used in scalable app
fixes for scalable mock
rename action hooks