Xdirection commands now work