making panels script for pi