Few fixex in Install.pl and permission checking.