Preparing plugin files