adding more hooks into FSPS fortran functions