added url option support