removed invoke_shell and pickle