Uploaded main script