modify to reference ext directory correctly