Added root action and made job excutable when through api endpoint