Added a library function that creates an actor startup script.