fix issue with import change not updated keyword reference
changed variables to python library flow