prepare plugin for deployment