adds support to fix file for custom commands