only load files if the vars exist