updated osascript call

Removed old arch call

Signed-off-by: harrycallaghan <chris.hopkins@pearson.com>