added ability to cancel path, pause and unpause paths