Modified setrel.c on the pi