add alignment scripting support