taking relative path for config