Bugfix: Variables now reset every loop