working server with external script