reordering installation script