updating Door open code to replace console log with random image function