scripts and source code modification