Added install directory argument