- push(@output, File::Spec->catdir( $path, "custom" ));
- push(@output, File::Spec->catdir( $path, "factory" ));
+ push(@output, File::Spec->catdir( $path, "custom" )) unless ($i);
+ push(@output, $path);
+ push(@output, File::Spec->catdir( $path, "factory" )) unless ($i);
+ $i = 1;