script to inspect and test rcmd for user