testing script and get metrics