Standalone DB function creation script added.