merged logout_testscripts with frontend.sh