Removed a call to render that was uncessary and then have the ability to create a random filename if a tag doesn't exist