Made indexing sequence serial instead of parallell
fixed logical error in install sequence