BUG: broken (un)publish scripts