added function plugin to trigger based on time of day