added more functionality to ffg, bg and jobs