user script helper