Move adding an input file to runtime.c/h, and add files to input files if not an option