improve script output