Added pre publish script