trim
echo messages
return to current directory after run