script run from terminal