[ADD] programms as scripts.
[FIX] some pyflakes and imp requirements
[MERGE] feature/inventory_migration