Fixes #48 and fixes syntax error in the cloud reader running from root.