forgot to remove debug PRINTs from script