setup conditions and prompts

setup conditions and prompts