adding code to get job definition.
adding code to write file in tmp dir
adding keybinding for o-def