Add a script to help factorising catalog lookup of resources.