add server script for local testing