- fixing parameter name format
- using canonpath for path cleanup
- applying actions based on metadata
- creating non-existent directories and skipping loop

Signed-off-by: Gabriel Andrade <gabriel@b-datum.com>