added http download method, fixed some permissions