Update batch scripts to use fullpath inside Python