run from shell