Switch main project repo directory
Use Text mode hooks for child modes