Added looping region saving and multiple resolution