Update throttler.sh

* Cleaning the code and just keeping the necessary lines.
* Adding code sections to make the code more clear