Fixes external files loading