Topic/selfupdate

A few minor fixes and the addition of documentation for the scripts.