remove pre script