octascript: put import implementation into runtime