adding directional commands from browser