fixed jkbase script