Start with changing of the functionality of the script

After the change the script will start faster and show a bar for charging