Fixed issues preventing PiFox from running