Tweaked run script to work with default directories