converting cmd_fms to interface with new schedule code - not compiling