modify bin/casual-api