Plastics firm gets planning for a plant in West Cork