Integrated Folder and Script number into all queries and processing.