Dynamic Path Handling

Implemented dynamic path handling to enable multiplatform execution.