remove unused commands
use datetime instead of popen