prepare publishing plugin