Update import_examples script

Replaces the `import_examples` script with a slightly modified version of the one in Cylon.