code moved to src/main/scripts