Report as inappropriate

Hi I am having trouble with the script conversion. I use my print program(Repetier-Host) to slice with and then save the sliced file as gcode. It does not save as .g . When I run the script with default setting.txt and modifying targets.txt with the filename I get a file t"attempts to go outside of build area"