added image size option + added variables