add set domain and set locale commands