fixed typos and old imports in local read script