preaction setup shell