Modification of python search order