startup errors checking, remove hardcoded value for remote temporary directory