Minor improvements
Move assert_sudo into sudo_required decorator