adding better if statement to definbe with paths are done in modconfig file
Authored by: berg53 2013-06-11
Parent: [r651]
Child: [r653]