fixes in sudo script