Migrated from gist since now I have a prope misc scripts repo