Fix script output