Added a get function command for the console