adding server script for local testing