Fixed a bug with installing the latest beta + added a DEBUG mode.