simplify studio run func