Developing custom GRASS programs