Updated the install and update scripts, now they take care of submodules and use the -f readlink flag (see #1).