Change cd $(wp theme path) is cd $(wp plugin path) in plugin.php