Removed functional version of script so it's just OOP