cleaning up extraction, incl. adding config file for extract script