Fpwd51

have made changes to add main to 5.1