updated several scripts