switches to hashbang mode