added service, internet and write permissions