separated dynamic scripting code and commander code