Previous commit was incomplete : use absolute path for input/output and move to the script directory