Generate proper plugin files