clean up ra parser script