Bringing order into the external scripts