basic lib complete
script edits