add script for processing vectors