Added limits and fixed install script