flush stdout so we don't need to run python -u
make REXSTER_URL a parameter