some modification that allow me to run the script