setup smartat before running script