script and manual updated