add random expr, allow play command to take a directory