Adds some misc features to some scripts