moved sudo-parts into separate script