Correct generated paths of escripted files
Correct related -pa options