refactored artisan script with Thujohn twitter functions, changed checks (working but not dry)