Modifications for FunScript