Added the abort function to exit when answer is not Y/y