Hello hzamaniM54WP,
I extended your code, you were missing a few JournalKeys. See here: Run a.dyn from a Revit add-in?