Added logging when the script starts and a breakpoint