link run_plan with application, fixes prymitive/upaas#64