Separated the paths and local info from the code