Numerous small tweaks
Add -f flag to chmod
Neater on two lines