modified the install script for mop.