moves paths, args into vars