Added plot metadata information to function node and some minor changes