Added c-script support
Modified mouse-pattern