Massive fix of script_to_file array and setting breakpoints