added some helper scripts