Initialization, plus some little scripts I wrote