modified the ja_runner script