Add functions file to log and print messages