Fixed bug and modified test to reveal it
Log the script being executed
minor fix