Move publisher code to bundle + fixed possible problem if you plan a publishing and do not select a date