Removed old unused functions for command line commands