Allowing localhost and adding comments