fix depl script