edit device paths to use varible