updated function library
updated vehicle fix