added check for Amanullah's EBV, and neccessary code for loader