Fix script syntax and update default composer.json