moved output to this script