use PHP function rather than doing exec
removed unused use
adding RMT to vendor/bin/RMT