Add input options and populate image metadata