More porting
PPS is set up
changed compile flag