Fixed paths so it can run from launchd