Based on TeamChopsticks' "hercskytools"