make the script simplier