split two scripts