added smartdoge related code into scripts