added setupstuff for pi