I guess the first place to start would be the path statement to the office apps, and to make sure the /safe is not appended at the end