scripts to install im and gm