return a 500 if our rewrite bombs
--dep for adding deps on command line