updated raspbian functions