swap order of two scripts