Better dir check and create missing in install