I have a script using AppCreate to create a new application (virtual directory) in IIS 6. To get the script to work in IIS 7 I have to enable IIS 6 compatibility. What is the "right" way to script this in IIS 7 without having to enable a lot of different components that differ from the standard installation?