debuging script for server