update of the resoruce fetch to enable a command line test