modify for script set up