Updated .gitignore
Added check to see if random ID exists after being generated.