Fixed a problem with restart task where it was doing an unecessary loop, also made it more explicit for conf file location breaking it out per task also removing a unecessary loop