publlish script