Fixing install script for making directories.