updated to work with multiple static component presentations