Made mock mode a dep