Partially updated version of Lasslop script - not working
Merge branch 'master' of https://github.com/imchugh/partitioning