add server mode scripts