Set sudo variable before using it