Stitching command_prompt and queue together.