[rip] updates rip script
[rip] updates rip script
rewrite headers