Getting rid of this mid-sudo mess