error handling for installation basics

setting environment settings instead of exit();