Changed API to use {%= path %} value in custom_dest option instead of using the flag