adding python script for ranking behaviors