Updated index files but error on Unprotected variables