readd permissions

also readd torch package
oops

Change-Id: I0ae4074a8f1705a3990c3041ab6908aaf5a9818d