add generate task script