small changes and added two scripts