Adding org info to actions

added notem we cannot pattern match in above case since the record can be undefined in some cases.