added SetLocationType to the DSL and evalScript