edit script and add the script to prefab as component