Very rough pass at command line add fastly condition and header

Committing for safekeeping. Not the final version.