fixed bug with reading configs ; updated to pull external if specified