add .functions file