changes to fg job handling