replace flashfiles with dist