install script migrated to python