bug 1137: adjusted write_user_agreement to needs