fixed foreach that should be for.
Improved printing of copy/paste commands at end.
Merge branch 'master' of github.com:owncloud/administration