fix so pwb doesn't freak out when this file is imported
script to protect images on the main page