Slight tweaking to QuickEP script so that you can buy EP equal to the amount of Credits you have if you don't have enough Credits to fully restore up to max EP