Modify pre script