make script nicer