added: current working dir prefix to media resources, won't work on POSIX otherwise
added: cwd prefix to media resources