added the user script from work (that we didnt end up using)