Some scripts I use (written in java)