utilities with python script