Added change tab func an used it on up script.