Use the raw url to retrieve the script source rather than json api method.
Create buffer from script source string in the right place.
Limit the number of scripts to be imported simultaneously to 5.
Put a request limit on the user scripts searcher.
Don't search for user scripts in forks because they likely don't belong to that user.