Added handling for relative directory paths in configuration file.