WIP - Mostly working dirty script