Makes generate() in backend.c call scm_generate correctly