Broken progress bar script on it's own