better publish scirpt