Fixed reference to main file