Inject script automatically after install. Clean up codes.