Add layer preview capability by adding wms and wfs commands