Updated to download the package first. Added state to resolve hostname
        to localhost