Added conditions in main file