update core code, make script runnable

@Fity