added .PNG extension to allowed extensions