fixes import template based folder importer
redirect to index after import