adding patch.version and echoing stuff