Get publisher script working