replaced proj_root variable by configuration_directory variable at certain places which depend on the config directory