Fixed bug with out of date files