Added execute function to job