script / other utilities compatible with unity4