new functions to redirect submissions to alt folder during testing
and my usual fidgeting with the code style