jump in generated folder if gen scripts is true
add log commands and options