improved several scripts