Implemented new extract and combine with outputpath and additional settings from Frans