Small changes to story submit function