Combine two scripts