Accepts general options before and after command

Fixes #10