scripts explained