fix bug when opening non existing files
add analysis output path in script