Better function create_n_scripted (2nd try)
Merge branch 'master' of github.com:GL-MPRI-2014/GL_MPRI_2014