Targets is now generated properly