fix incorrect broadcast behaviour
added script identifier to action strings
added file logging
added regression test
changing lookup map to script instead of sprite