ADDED check if directory exists before creating ~/.aws