added input pass-through to fg_locations command for chaining