started making script easier to use