Changed code over to use bps, screen and navigator instead of pps.