uploading main script, still needs example code and docs