Reverted to old version and added permissions