Added only_running parameter to only return running instances by default