redirects for commands to general handling; some cleanup