Changes to support dual licensing. Removed licensing and added header to scripts. Incorporated some bug fixes related to wrong connection settings being used in some calls.