created server script to interact with haramain2 DB