some script for petster.