fix errors in import script + blocks