remodeling script is best in bash but embedding bash in python sucks. should make external script