Fix for a tamper script (in some cases comments were not inserted)