Made target folder a parameter