updated to properly only restart zinc if it was freshly installed
fixed bug with uppercase vs lowercase variable