So you tried two of the listed code-fixing techniques!
In reply to Re^3: When my script doesn't work, I ... by tobyink in thread When my script doesn't work, I ... by cavac