Fix hdecay script