Move all jobs to lua scripts