updated setting up of top pi