Created two scripts