fix the order of execution to ensure bin/*.bat files are packed