Added pre-run script option