added script, adhusted script