Fix bug in install script creating extra folders