Improved script output