Set trace mode to understand what the script is doing.