Add system check in index file and add errors template