added pre-run and post-run scripts