Old api is depr - update to newer version rewrite import to automatically import new images and save them do some optis