Made installer more environment-agnostic.