Rework of l0dac's vehicle saving script for extDB