Split tee run script and usual run script