Added custom path option