fixes #137

more intuitive support for resource configuration