Updated the scripts and the docs