Added base path to resolve resources path issues.