corrected opener.py