Modified to run from collectors directory