updated to use development environments only if present