Replaced function __export_ps1_twh_not_running with __export_ps1_twh_running