update core code, make script runnable
Merge pull request #2 from Altynai/base_run

[Confirmed by Fity]update core code, make script runnable