Added support for running custom processes. Closes #71.