properly calculate running FBA instances on shell wrapper