Make rdoc script
Fix rdoc generation