making the scripts less of a mess hehe