Split download and deploy and handle plugins