making conf_dir a variable