Modified Scripts and selection functionality