script for cli