if you stick to a schedule and work 9-5 you'll be more productive than you have ever been
Perhaps this works for you. Not everyone is you.
I've been working from home for over 20 years. I don't stick to a 9-5 schedule. I work when I know I'm going to get something done; when I have to interact with other people in real time; when there's something that needs to be done soon. I get plenty done. Sometimes some of it gets done on Sunday afternoon or in the wee hours of a weekday, and that's the way I like it.