renamed command retrieval functions to match the ruby functions