add errors logging, full create_from_local logic