Finalized publish script