fix permissions with webapp dir, update platform