Added new queries and Python UDFs