some helper script for misc things