Moved assemble code before all the content directory code for easier understanding