changing flask version of keywords to accept args properly