script is now easier to use