Working on lua writer and source mapping