changed main to resources folder