improved script output