there sure must be some kind of script for this..