setting up factory source with rug