updated baby script to add a ifYear function