Refactored jump command so that it no longer requires string comparison.