Add scripts of analysis between initD and outD