switched GenerateFSPinput to using check_output from subprocess