Replaced line.seperator with / and fixed  /sudo command