Comments script bug fix