setting flexible paths