Some help from these people over here https://scratch.mit.edu/discuss/topic/249948/?page=1#post-2561576