implement band-aid for imgur link failures, move to using functions for commands