replaced fixed input path with <INPUT>
replaced fixed input path with <INPUT>

parameterized the number of references

fhieber/incubator-joshua,lukeorland/joshua,gwenniger/joshua,fhieber/incubator-joshua,kpu/joshua,gwenniger/joshua,lukeorland/joshua,thammegowda/incubator-joshua,thammegowda/incubator-joshua,thammegowda/incubator-joshua,fhieber/incubator-joshua,thammegowda/incubator-joshua,fhieber/incubator-joshua,fhieber/incubator-joshua,lukeorland/joshua,kpu/joshua,lukeorland/joshua,gwenniger/joshua,kpu/joshua,fhieber/incubator-joshua,kpu/joshua,gwenniger/joshua,lukeorland/joshua,lukeorland/joshua,gwenniger/joshua,gwenniger/joshua,thammegowda/incubator-joshua,lukeorland/joshua,thammegowda/incubator-joshua,kpu/joshua,fhieber/incubator-joshua,thammegowda/incubator-joshua,kpu/joshua,lukeorland/joshua,thammegowda/incubator-joshua,lukeorland/joshua,thammegowda/incubator-joshua,thammegowda/incubator-joshua,fhieber/incubator-joshua,fhieber/incubator-joshua