Added ageDay bash function