fix ramo scripts