fix minor issues in prefill script, remove exports (#166)