Added renice logic for root shells