Fixed bug.
Added scripts.