initial commit to combine script functions