Reverse does everything inplace and does not return a reversed list hence resulting in a broken script.