put path in decorator instead of preferences to get it to work, that was the old way