Changed resources directory to media