working script for majsrv2