add motd
make temporary directory if not exist
add a time counter for startup time