add --before to run commands before monitoring
version 0.0.2