pass in stackname instead of id and envname separately