making the python script path attribute order agnostic