add scripts to run collector and dex