add publish lua script option