Refactored GetFungusScript() and GetSequence()