Starting to work on docs
small bugfix for old script