Updated ff script