resize the pic before view extraction
move the scripts to a dir