script panel controller