Sync for GAMBITDIR environment variable