Better repository handling and remote support