Update to install modules

added a check for presence and permissions of uploads folder.