added breaks between runs, added smart os path to read pictures
modified for debug purposes
trial are generated