Replace ugly sudo aliaces with function