readd permissions

also readd torch package