fixes and more scripts.