add server script files to fix the bug