Added range arguments to scripts