updated version to 0.3.1, changed default alignment mode to global