need to install rex before trying to call functions from it.