bug fixes, added install.m