Fixed capitalization issue.
Added check for root wpermissions before attempting to run.