Fixed a small bug and added a few commands.