some scripts for leapcast