Fixed installs to look for directories not files