Modified install script with debugging information