use $server for deploy