external file issues corrected