corrected error when just naming the custom script file
added unit test for package usage with only custom script invocation without r script as command argument