Added dynamic python imports
Fixed importations
Fixed syntax
Fixed callers