added script and Auto gen Library