Made scripts generic