included add to calendar code in functions file