Adds code to read in filter, collection, and profile