Full working script prime version

Completed readme also.