Added possiblity to define targets in configuration