Added inline index back in

Re-added the inline index drop down. Added CLI arguments to control the
generation of the standalone index file, the inline index and to
truncate output directory before starting the job.