ABB irb120 urdf and planning in drake

can you make this a function, instead of a script?  (e.g. add `function runPlanning` to the top)?