Added command line argument pathd and pathr
Merge branch 'devel'