Set properties only for target and remove env var