Main file moved to map it run correctly