adding fx command line flag hangling-not finished