Change to script directory before updating.