rewrite of module installation