changed BehaviorScript.cs to not give compile errors