Added better permissions