switch for hootsuite specific scala codes