Improved doc srcript
documentation added