updated fp rpbcoby to work locally and remote