python script modified: fix libs imports