Modified Popcorn_component_collect script