cleanup and command arguments
CLI