better publish script