Refactor since Arduino being finicky with permissions.