Refactoring. Moved remote content check to its own function. Deprecated 'call' module in favor of 'sh'.