New users script

Script is finished and generalized