Added print_env() function
Added ntpdate_rtc() function