added check for loader version to deploy handler