base script to modify