Modified to work with a Command Object instead of strings. Current version is hardcoded for testing only.