some useful scrips