Added Functional Documents and Modified Scripts