Modified td_options to acept more options