Fixed var name in get_version_number + indentation fix + removed unused vars