added list option to both profile and info commands. fixed #6