use sudo for packages installation, if present
add a limit value for rsync
protect variables in path with double quotes
Merge branch 'release/1.0.1'