Screen inputs to generate function